package com.sc.nft.service;

import com.sc.nft.entity.EcologyPoolSourceDetail;

import java.util.Date;
import java.util.List;

/**
* @author PC
* @description 针对表【sc_ecology_pool_source_detail(生态池-生态熔炼积分-积分明细)】的数据库操作Service
* @createDate 2024-07-20 11:27:02
*/
public interface EcologyPoolSourceDetailService{

    /**
     * 获取小于等于当天的数据
     * @return
     */
     List<EcologyPoolSourceDetail> getLeDateList();

    /**
     * 分配积分
     * @param date
     * @param ecologyPoolSourceDetail
     */
    void pointsDistribution(Date date, EcologyPoolSourceDetail ecologyPoolSourceDetail);
}
